#pragma once

#include <memory>

namespace rewine
{

using dl_handle_t = void *;
std::shared_ptr<dl_handle_t> rewine_dlopen(const char *file, bool bLazy, bool bDeepbind);
void * rewine_dlsym(dl_handle_t handle, const char *name);
void * rewine_dlinfo_map(dl_handle_t handle);
const char *rewine_dlerror();

} // namespace rewine
